using System;
using System.Collections.Generic;
using System.Text;

namespace SpaceEventManager
{
    public class SpaceList
    {
        /* Creates a list of lists of spaces of list capacity size */
        public List<List<Space>> allSpaces;
        
        public SpaceList()
        {
            /* Initializes lists in the list */
            allSpaces = new List<List<Space>>(100);
            for (int i = 0; i < allSpaces.Capacity; i++)
            {
                allSpaces.Add(new List<Space>());
            }
        }

        public List<List<Space>> AllSpaces
        { get { return allSpaces; } set { allSpaces = value; } }
    }
}
